We want focus events more similar to crossing events.
*mode = event->crossing.mode;
return TRUE;
}
+ else if (event->any.type == GDK_FOCUS_CHANGE)
+ {
+ *mode = event->focus_change.mode;
+ return TRUE;
+ }
return FALSE;
}
*detail = event->crossing.detail;
return TRUE;
}
+ else if (event->any.type == GDK_FOCUS_CHANGE)
+ {
+ *detail = event->focus_change.detail;
+ return TRUE;
+ }
return FALSE;
}
* @send_event: %TRUE if the event was sent explicitly.
* @in: %TRUE if the surface has gained the keyboard focus, %FALSE if
* it has lost the focus.
+ * @mode: the crossing mode
+ * @detail: the kind of crossing that happened
*
* Describes a change of keyboard focus.
*/
{
GdkEventAny any;
gint16 in;
+ GdkCrossingMode mode;
+ GdkNotifyType detail;
};
/*